<template>
  <div id="app">
    <router-view />
  </div>
</template>

<script>
import { getRequest } from "@/api/public";
export default {
  name: "App",
  data() {
    return { version: null };
  },
  watch: {
    version: {
      handler() {
        //
      }
    }
  },
  created() {
    // getRequest("mine/iot/barrier?device_code=DYSZLF01&state=open").then(
    //   response => {
    //     if (response.state) {
    //       // 成功
    //       this.$message.success("操作成功");
    //     } else {
    //       this.$message.error(response.message);
    //     }
    //   }
    // );
  },
  mounted() {},
  methods: {}
};
</script>
<style>
input[type="text"],
select {
  height: 28px;
  text-align: left;
  text-indent: 1em;
}
input[type="text"],
select,
textarea {
  border-radius: 5px;
  border: 1px solid #bfbfbf;
  background-color: transparent;
  color: #333333;
  outline: none;
  box-sizing: border-box;
}

input[type="text"]:focus,
select:focus,
textarea:focus {
  box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.15);
}
/*公共部分 搜索样式*/
.search {
  padding: 10px;
  background-color: #ffffff;
}

.search > div:nth-child(2) {
  margin-top: 10px;
}

.search > div label {
  margin: 0 10px;
}

.search div button {
  padding: 8px 30px;
  background-color: rgb(6, 130, 255);
  border: none;
  outline: none;
  border-radius: 5px;
  color: #ffffff;
  cursor: pointer;
  text-align: center;
  margin-left: 20px;
  -webkit-transition: all 0.25s ease-in;
  -moz-transition: all 0.25s ease-in;
  -o-transition: all 0.25s ease-in;
  transition: all 0.25s ease-in;
}

.search div .search-btn:hover {
  background-color: #409eff;
}
.search-con {
  position: relative;
}
.search-res {
  position: absolute;
  max-height: 200px;
  background-color: #fff;
  z-index: 100;
  right: 3px;
  border: 1px solid #ccc;
  border-radius: 5px;
  top: 25px;
  overflow: auto;
}
.is-md {
  width: 200px;
}
.search-md {
  width: 100%;
}
.search-res ul li {
  cursor: pointer;
  text-align: center;
  line-height: 24px;
  transition: all 0.25s ease-in;
}
.search-res ul li:hover {
  background-color: #409eff;
  color: #ffffff;
}

.search-res span {
  display: none;
}
.search-btn {
  padding: 7px 30px;
  background-color: #409eff;
  border: none;
  outline: none;
  border-radius: 5px;
  color: #ffffff;
  cursor: pointer;
  text-align: center;
  margin-left: 20px;
  -webkit-transition: all 0.25s ease-in;
  -moz-transition: all 0.25s ease-in;
  -o-transition: all 0.25s ease-in;
  transition: all 0.25s ease-in;
}

.search-btn:hover {
  background-color: #409eff;
}
.search-container input {
  font-size: 14px;
}
.search-date {
  width: 185px;
}
.table-container > button {
  margin-bottom: 10px;
}
.el-tab-pane > button {
  margin-bottom: 10px;
}
.search-date .el-input__inner {
  width: 180px;
}
.el-dialog input {
  padding: 5px;
}
.el-dialog input,
.el-dialog select {
  width: 220px;
}
.addinput textarea {
  width: 220px;
}
.el-dialog .el-form .el-form-item {
  margin-bottom: 10px;
}
.upload-icon {
  width: 35px;
  height: 35px;
}
.pagination {
  display: flex;
  justify-content: center;
  margin-top: 10px;
}
.pagination .el-select {
  width: 120px;
}
.dialog-edit-class {
  width: 130px;
}
.dialog-edit-class > .el-input > input.el-input__inner,
.dialog-edit-class > input.el-input__inner {
  width: 130px;
}
</style>
